package com.quizh.euro.server.ws;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

import com.quizh.euro.server.biz.AdminBiz;

@Path("/admin")
public class AdminWs {
	
	@GET
	public String notifyMessage() {
		AdminBiz biz = new AdminBiz();
		biz.notifyPremiados();
		return "OK";
	}
	
	@GET
	@Path("/update")
	public String search() {
		AdminBiz biz = new AdminBiz();
		biz.updateData();
		String response = "OK";
		return response;
	}
}
